package com.link.base.base.message.service;

import javax.annotation.Resource;

import com.link.base.base.user.model.User;
import org.springframework.stereotype.Service;
import com.link.base.base.message.dao.mybatis.mapper.MessageReceiverMapper;
import com.link.base.base.message.model.MessageReceiver;
import com.link.core.basic.dao.mapper.BasicMapper;
import com.link.core.basic.service.BasicServiceImpl;

import java.util.List;

/**
 * 消息发布-接收对象-消息发布维护接收用户 
 *
 * @author ouyangzhenqiang
 * @date 2019/07/25 13:54
 */
@Service
public class MessageReceiverServiceImpl extends BasicServiceImpl<MessageReceiver> implements MessageReceiverService {

    @Resource
    private MessageReceiverMapper messageReceiverMapper;
    
    @Override
    public BasicMapper<MessageReceiver> getBasicMapper() {
        return messageReceiverMapper;
    }

    @Override
    public List<User> queryUnSelectUserListPage(MessageReceiver record) throws Exception {
        return messageReceiverMapper.queryUnSelectUserListPage(record);
    }
}

